package com.ctshk.rpc.system.req;

import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 系统消息表
 * </p>
 *
 * @author
 * @since 2020-12-28
 */
@Data
@ApiModel(value="SystemMessageReq对象", description="系统消息表")
public class SysMessageReq implements Serializable {

    @ApiModelProperty(value = "来源",required = true)
    private String source;

    @ApiModelProperty(value = "标题",required = true)
    private String title;

    @ApiModelProperty(value = "类型（ 1：待办  2：通知）",required = true)
    private Integer type;

    @ApiModelProperty(value = "业务id",required = true)
    private Long businessId;

    @ApiModelProperty(value = "业务单号",required = true)
    private String businessOrderNo;

    @ApiModelProperty(value = "业务类型",required = true)
    private Integer businessType;

    @ApiModelProperty(value = "接收用户id",required = true)
    private Long receivingUserId;

    @ApiModelProperty(value = "发送时间")
    private LocalDateTime sendingTime;

}
